<?=("head")>
<!-- start login.html -->
<div id="login_screen">
		<div class="box">
			<div class="boxlabel"><?SERV:HUMANNODE> - <?_("powered by")>
				<a href="http://www.citadel.org">Citadel</a>
			</div>
			<div class="boxcontent">
				<div class="login_image"><img src="image?name=hello" alt=""></div>
				<div id="hellomsg"><?SERV:MESG("hello")></div>
				<?!("COND:IMPMSG", 1)>
					<div class="login_message"><?IMPORTANTMESSAGE></div>
				<?!("X", 1)>

				<hr />

				<div class="login_message" id="login_errmsg"></div>

				<div id="auth_container">

				<div id="authbar">

				<div class="ib_button" style='background-image: url("/static/webcit_icons/citadel-button-32x32.gif");'>
				    <a class="ib_button_link" href="javascript:authtoggle('authbox_userpass');" title="<?SERV:HUMANNODE>"><span>
				    </span></a>
				</div>
				<?!("COND:SERV:OPENID",1)><div class="ib_button" style='background-image: url("/static/webcit_icons/openid-32x32.gif");'>
				    <a class="ib_button_link" href="javascript:authtoggle('authbox_openid');" title="OpenID"><span>
				    </span></a>

				</div><??("X", 1)>
				<?!("COND:SERV:OPENID",2)><div class="ib_button" style='background-image: url("/static/webcit_icons/google-32x32.gif");'>
				    <a class="ib_button_link" href="javascript:authtoggle('authbox_google');" title="Google"><span>
				    </span></a>
				</div><??("X", 2)>
				<?!("COND:SERV:OPENID",3)><div class="ib_button" style='background-image: url("/static/webcit_icons/yahoo-32x32.gif");'>
				    <a class="ib_button_link" href="javascript:authtoggle('authbox_yahoo');" title="Yahoo"><span>
				    </span></a>
				</div><??("X", 3)>
				<?!("COND:SERV:OPENID",4)><div class="ib_button" style='background-image: url("/static/webcit_icons/aol-32x32.gif");'>
				    <a class="ib_button_link" href="javascript:authtoggle('authbox_aol');" title="AOL"><span>
				    </span></a>
				</div><??("X", 4)>


				</div>

				<div class="authbox" id="authbox_userpass" style="display: block">
				<h2><?_("Log in using a user name and password")></h2>
				<form id="ajax_username_password_form" method="POST" action="ajax_login_username_password">
				<label for="uname"><?_("User name:")></label>
				<input type="text" name="name" id="uname" onKeyPress="username_and_password_onkeypress(event);">
				<br><br>
				<label for="pname"><?_("Password:")></label>
				<input type="password" name="pass" id="pname" onKeyPress="username_and_password_onkeypress(event);">
				<br><br>
				</form>
				<div class="logbuttons"><a href="javascript:ajax_try_username_and_password();"><?_("Log in")></a></div>
				<div class="registernow"><a href="javascript:authtoggle('authbox_newuser');"><?_("New user?  Register now")></a></div>
				</div>

				<div class="authbox" id="authbox_newuser" style="display: none">
				<h2><?_("New user?  Register now")></h2>
				<?_("Enter the name and password you wish to use, and click &quot;New User.&quot; ")><br><br>
				<form id="ajax_newuser_form" method="POST" action="ajax_login_newuser">
				<label for="uname"><?_("User name:")></label>
				<input type="text" name="name" id="uname" onKeyPress="newuser_onkeypress(event);">
				<br><br>
				<label for="pname"><?_("Password:")></label>
				<input type="password" name="pass" id="pname" onKeyPress="newuser_onkeypress(event);">
				<br><br>
				</form>
				<div class="logbuttons"><a href="javascript:ajax_try_newuser();"><?_("New User")></a></div>
				</div>

				<div class="authbox" id="authbox_openid" style="display: none">
				<h2><?_("Log in using OpenID")></h2>
				<form id="ajax_openid_form" method="POST" action="ajax_login_openid">
				<?_("OpenID URL:")>
				<input type="text" name="openid_url" id="openid_url" class="openid_urlarea" onKeyPress="return openid_onkeypress(event);">
				</form>
				<div class="logbuttons"><a href="javascript:ajax_try_openid();"><?_("Log in")></a></div>
				</div>

				<div class="authbox" id="authbox_google" style="display: none">
				<h2><?_("Log in using Google")></h2>
				<div class="logbuttons"><a href="javascript:ajax_try_google();"><?_("Log in")></a></div>
				</div>

				<div class="authbox" id="authbox_yahoo" style="display: none">
				<h2><?_("Log in using Yahoo")></h2>
				<div class="logbuttons"><a href="javascript:ajax_try_yahoo();"><?_("Log in")></a></div>
				</div>

				<div class="authbox" id="authbox_aol" style="display: none">
				<h2><?_("Log in using AOL or AIM")></h2>
				<form id="ajax_aol_form" method="POST" action="ajax_login_aol">
				<?_("Enter your AOL or AIM screen name:")>
				<input type="text" name="aol_screenname" id="aol_screenname" class="openid_urlarea" onKeyPress="return aol_onkeypress(event);">
				</form>
				<div class="logbuttons"><a href="javascript:ajax_try_aol();"><?_("Log in")></a></div>
				</div>

				</div>
			</div>
		</div>
<!-- end login.html -->
<script type="text/javascript">
	//GetLoggedInFirst('do_welcome');
</script>
<?=("trailing")>
